import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/home/home'
import Classification from '@/components/classification/classification'
import Cart from '@/components/cart/cart'
import Mine from '@/components/mine/mine'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '*',
      component: Home
    },
    {
      path: '/home',
      name: 'Home',
      component: Home
    },
    {
      path: '/classification',
      name: 'Classification',
      component: Classification
    },
    {
      path: '/cart',
      name: 'Cart',
      component: Cart
    },
    {
      path: '/mine',
      name: 'Mine',
      component: Mine
    }
  ]
})
